package cn.demo.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
//@EnableEurekaClient
@EnableDiscoveryClient

@EnableZuulProxy
public class Application {
    public static void main(String[] args) {
        // EurekaClient
        SpringApplication.run(Application.class, args);
    }
}
